
<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>用户信息页</title>
</head>
<body>
<p th:text="'姓名：' + ${user.name}"></p>
<p th:text="'年龄：' + ${user.age}"></p>
<p th:text="'生日：' + ${#dates.format(user.birthday, 'yyyy-MM-dd')}"></p>
</body>
</html>